@extends('layout.master')

@section('title')
   Order Confirmation
@stop

@section('username')
   {{ Auth::user()->userName }} 
@stop

@section('header')
    @parent
@stop

@section('side-menu')
    @parent
@stop

@section('content')
        <h3> Order Confirmation </h3> <hr />

           @if(!empty($error))
                <div class="alert alert-error span12">
                    <h4> {{ $error }} </h4>
                </div>
            @else
                <div class="alert alert-success span12">
                    <h4> You have enough money to complete your transaction </h4> <br />

                <form action="/users/purchase" method="post">
                    <button type="submit" value="Purchase Items" class="btn btn-info" > Purchase Items </button>
                </form>
                </div>
           @endif
@stop




